const Mock = require('mockjs')

module.exports = function (req) {
  const result = Mock.mock({
    userName: 'Zaku',
    userCode: '@id()',
    userType: '1',
    userTypeName: '超级管理员',
    account: '',
    address: '',
    age: null,
    avatarUrl: '',
    createdAt: '2022-03-18 11:09:28',
    enable: 1,
    id: 11572,
    phone: '18811110002',
    token: 'b64e3211cb55b9d411008a098e2de9e7',
    workYear: '',
  })
  return {
    result: result,
    error: null,
    success: true,
    code: '10000',
    datetime: Date.now(),
  }
}
